﻿<%@ Page Language="C#" MasterPageFile="~/Theme/Stander/Stander.master" AutoEventWireup="true" CodeFile="Login.aspx.cs" Inherits="Login" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<h1 class="block">用户登录</h1>
<div class="loginform">
<asp:Login ID="Login1" runat="server">
<LayoutTemplate>
    <fieldset>
        <p><asp:Label ID="UserNameLabel" runat="server" CssClass="top" AssociatedControlID="UserName" >用户名:</asp:Label>
        <asp:TextBox ID="UserName" runat="server" tabindex="1" CssClass="field" ></asp:TextBox><asp:RequiredFieldValidator ID="UserNameRequired" runat="server" ControlToValidate="UserName"
                            ErrorMessage="必须填写“用户名”。" ToolTip="必须填写“用户名”。" ValidationGroup="Login1">*</asp:RequiredFieldValidator></p>
        <p><asp:Label ID="PasswordLabel" runat="server" CssClass="top" AssociatedControlID="Password" >密码:</asp:Label>
        <asp:TextBox ID="Password" runat="server" TextMode="Password" tabindex="2" CssClass="field"></asp:TextBox><asp:RequiredFieldValidator ID="PasswordRequired" runat="server" ControlToValidate="Password"
                            ErrorMessage="必须填写“密码”。" ToolTip="必须填写“密码”。" ValidationGroup="Login1">*</asp:RequiredFieldValidator></p>
        <p><asp:CheckBox ID="RememberMe" runat="server" Text="下次记住我。" CssClass="checkbox" tabindex="3" /><br />
        <asp:Literal ID="FailureText" runat="server" EnableViewState="False"></asp:Literal></p>
        <p><asp:Button ID="LoginButton" runat="server" CommandName="Login" Text="登录" ValidationGroup="Login1" /></p>
        <%--<p><a href="#" onclick="webLoginShowForm(2);return false;" id="forgotpsswd_1">Password forgotten?</a></p>--%>
    </fieldset>
</LayoutTemplate>
</asp:Login>
</div>
</asp:Content>